<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><title>
	应用系统管理端平台--一站式管理端开发服务
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/css/cssmerge.css" rel="stylesheet" type="text/css"/>
<link href="/css/Style.css" type="text/css" rel="stylesheet"/>
<link href="/css/FStyle.css" type="text/css" rel="stylesheet"/>
<link href="/css/share.css" type="text/css" rel="stylesheet"/>

<script type="text/javascript" src="/js/towf.js"></script>
<script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/js/mergepkg.js"></script>
<script type="text/javascript" src="/js/DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/service_child_id.js"></script>
<body>
<div class="panel_searchbarEx">
<table class="panel_searchbarEx_banner" cellspacing="2" cellpadding="4" border="0" width="80%">
<tbody>
<tr>

<td nowrap="nowrap">游戏名：</td><td>
<select id="f_game_id">

<option value="">请选择</option>
</select>
</td>
<td nowrap="nowrap">时间：</td><td><input id="f_statis_time" type="text" size="15" /></td>


<td nowrap="nowrap">
<input id="btnConfirm" class="ImgBtn_Big" type="submit" value="查 询" name="btnConfirm">
</td>
</tr>
</tbody>
</table>
</div><!---panel_searchbarEx---->
<div id="my_div" style="width: 100%; height: 3px;border:solid 0px;margin-top:-10px;text-align:center;">
<a class="my_click" style="background-position: -19px center;cursor:pointer;background:url(../images/bg_sprite.png) repeat scroll right -4px transparent ;height: 8px; width: 10px; display:block;overflow:hidden;margin:0 auto" title="点击按钮显示和隐藏搜索层" onclick="show_hide();return false;" href="#"> </a>
</div>
<div class="list_container">

<div class="opt_container">
<span style="font-size:14px; font-weight:bold;">操作图例:</span>
<span><input id="ExpMsgInfo" class="Export" type="button" style="border:0px;" value="导出" title="按查询条件导出结果"/></span>&nbsp;&nbsp;
<span id="infoHeader" style="position: absolute; top:60px;right: 120px; background-color: Yellow;" ></span>
<span id="t_console" style="position: absolute; top:60px;right: 120px; background-color: Red;" ></span>
</div>

<!--list-->
<div id="resList" style="display:none;">
<textarea id="resList_table">
<table class="dg_perant" cellspacing="0" border="1" style="width:100%;border-collapse:collapse;" rules="all">
	   <thead><tr class="dg_header">
<th align="center" style="width:30px;"><input type="checkbox" id="selectAll" onclick="selectAll()"/></th>
<th align="center" style="width:80px;" >游戏名</th>
<th align="center" style="width:80px;" >时间</th>
<th align="center" style="width:80px;" >成功数</th>
<th align="center" style="width:80px;" >失败数</th>
</tr></thead>
<tbody id="list_data">
{%#list data_list as qst%}{%#if (qst.bId%2==0)%}<tr class="dg_item">{%#else%}<tr class="dg_alter">{%/#if%}
<td align="left"><input type="checkbox" name="chk" value="{%qst.f_game_id%}" /></td>
<td align="left">{%qst.f_game_id%}</td>
<td align="left">{%qst.f_statis_time%}</td>
<td align="left">{%qst.f_succeed_count%}</td>
<td align="left">{%qst.f_failure_count%}</td>
</tr>{%/#list%}</tbody>
</table>	
           <div id="page">
                <div id="page_container" class="pg"></div>
            </div>	
</textarea>		
</div>
<!--end list-->

</div> <!---end list_container--->

<script type="text/javascript" src="/js/partpg/partpage2.js"></script>
<script type="text/javascript" src="/js/gcustom.js"></script>
<script type="text/javascript" src="/js/tagtype.js"></script>
<script type="text/javascript" src="helper_svr_succ_failure.js"></script>
</body>

<script type="text/javascript">
 function callbackModalFunc(obj) {
    var obj_arr = (obj!=undefined)?obj.split("|"):{};
	if(obj_arr[1] == "0")
	 {
	  if(obj_arr[0] == "add")
	    $T('#infoHeader').html("添加成功！");
	  else
	    $T('#infoHeader').html("修改成功！");
	  $T('#infoHeader').show();
	  datalist.search($T('#currentPg').html());
	  setTimeout("$T('#infoHeader').hide();",5000) ;
	 }
}

$(document).ready(function() {
   var o ={
			 'PARENT_ID':'f_game_id'	 ,//最大的那个select的ID 必填
			 'TAG_NAME':"SERVICE_PARENT_ID_XML",//标签名称  必填
			 'TWO_CHILD_ID':'f_childid',//第二个联动的id名称 必填
			// 'PARENT_VALUE':'dnf' //下拉框默认选中的值
			 'IS_QUERY_ONE':false
			 
		} ; 
	tagcommon_child_data(o);
   //datalist.search();  //加载第一页
	$("#btnConfirm").bind("click", function() { total_sum = -1;datalist.search(); });
	$("#ExpMsgInfo").bind("click", function() { datalist.exportdate(); });
});

function modjump() {
	var item_ids = new Array();
	var qcheck=document.getElementsByName("chk");
	for(var i=0;i<qcheck.length;i++){
		if(qcheck[i].checked == true)
		   item_ids.push(qcheck[i].value);
		}
   	if (item_ids.length != 1) {
		alert('请选择一行修改的数据');
		return ;
	}
	//$(window).wBox({show:true,title:'修改记录',requestType:"iframe",target:"module_type_edit2.html?id="+item_ids[0]});
	showModalTemplate('helper_svr_succ_failure_edit.html?id='+item_ids[0],'编辑记录',800,450,callbackModalFunc);
}

</script>

</html>